.card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: max-content;
  height: max-content;
  padding: 2rem 2.5rem;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  align-items: center;
  justify-content: center;
  margin: 5vh auto 2rem;
}

.repo {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: #000;
  right: 24px;
  top: 20px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 24px;
  user-select: none;
  gap: 6px;
  cursor: pointer;

  span {
    font-size: 24px;
    background: linear-gradient(to bottom right, #5ca4fa 0%, #0058c4 100%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
  }

  img {
    width: 48px;
    height: 48px;
  }
}


.card-body {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

.app {
  margin: 6px 0;
  display: flex;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  flex-direction: column;

  .title {
    font-size: 18px;
    font-weight: 500;
    color: #151515;
    user-select: none;
    text-decoration: none;
    transition: 0.25s;
    cursor: pointer;

    &:before {
      position: relative;
      top: 4px;
      margin-right: 8px;
      display: inline-block;
      content: '';
      width: 4px;
      height: 20px;
      border-radius: 2px;
      background: #4197ff;
    }

    &:hover {
      color: #000;
    }
  }

  .code {
    font-family: 'JetBrains Mono', monospace, Inter, -apple-system,
      BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
      'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
      'Segoe UI Symbol', 'Noto Color Emoji';
    font-weight: 400;
    background: #1a1a1a;
    margin-top: 6px;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-wrap;
    overflow: hidden;
    width: 100%;
    max-width: calc(100vw - 8rem);

    .point {
      font-weight: 500;
      color: #4b9bff;
    }

    &:before {
      content: "";
      display: block;
      background: url();
      background-repeat: repeat;
      background-size: auto;
      height: 24px;
      transform: translateY(2px);
      width: 100%;
      background-size: 40px;
      background-repeat: no-repeat;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
    }
  }
}


.card-footer {
  display: flex;
  margin-top: 24px;
  text-decoration: none;
  user-select: none;
  width: 100%;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;

  a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #2e89ff;
    text-decoration: none;
    cursor: pointer;
    transition: .25s;
    gap: 4px;
    margin: 0 2px;

    img {
      width: 26px;
      height: 26px;
      transform: translateY(2px);
    }

    &:hover {
      color: #006dfa;
    }
  }
}

.footer {
  display: flex;
  flex-direction: column;
  width: max-content;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0 auto 3vh;

  a {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    transition: .25s;

    &:hover {
      color: #000;

      img {
        opacity: 1;
      }
    }

    img {
      width: 14px;
      height: 14px;
      margin: 2px 4px 2px 2px;
      transform: translateY(4px);
      transition: .25s;
      opacity: .95;
    }
  }
}
